home *** CD-ROM | disk | FTP | other *** search
- /*
- ** ARexx Script to stop the "Start_TeX" script.
- **
- ** February 94, R. Laederach
- Done by:
-
- R.Laederach
- Kappelisackerstr. 46
- 3063 Ittigen
- Switzerland
- Phone:+41/(0)31/912 19 08
-
- This stuff ist PostcardWare, so send me a postcard or something useful (read
- the doc!).
- */
-
- /* $VER: 0.9, ©1993 Dietmar Eilert. Empty GoldED macro */
-
- OPTIONS RESULTS /* enable return codes */
-
- if (LEFT(ADDRESS(), 6) ~= "GOLDED") then /* not started by GoldEd ? */
- address 'GOLDED.1'
-
- 'LOCK CURRENT' /* lock GUI, gain access */
- OPTIONS FAILAT 6 /* ignore warnings */
- SIGNAL ON SYNTAX /* ensure clean exit */
-
-
- IF (SHOW('P', 'Start_TeX')) THEN DO
- 'REQUEST BODY="Really stop ARexx TeX-server ?" BUTTON="Yep|Nope"'
- if (RESULT == "1") THEN ADDRESS 'Start_TeX' 'quit'
- END
- ELSE
- 'REQUEST BODY="No TeX Server to quit"'
-
- 'UNLOCK' /* VERY important: unlock GUI */
- EXIT
-
- SYNTAX:
-
- SAY "Sorry, error line" SIGL ":" ERRORTEXT(RC) ":-("
- 'UNLOCK'
- EXIT
-
-